เนื้อหาจะเป็นการจำลองสถานการณ์ว่าเราได้พัฒนาโปรแกรมขึ้นมา โดย source code เก็บอยู่ใน folder โดยไม่มีการใช้โปรแกรมสำหรับจัดการเวอร์ชั่นของซอฟแวร์มาก่อน ลองมาดูว่าหากต้องการใช้ git เพื่อที่จะทำ version control ให้กับ source code ใน folder นี้จะต้องทำอย่างไร โดยมีคำสั่งหลัก ๆ ที่ใช้เรียงตามลำดับดังนี้
การใช้ git init เพื่อสร้าง local repository ให้กับ project/folder
การใช้ git config --global user.name "username" เพื่อกำหนดชื่อผู้ใช้
การใช้ git config --global user.email "me@anyemail.com" เพื่อกำหนด email ของผู้ใช้
การใช้ git add .
การใช้ git commit
การใช้ git remote add origin https://github.com/prasertcbs/atlas.git
การใช้ git push -u origin master
เชิญสมัครเป็นสมาชิกของช่องนี้ได้ที่ ► https://www.youtube.com/subscription_center?add_user=prasertcbs
playlist สอน git เบื้องต้น ► https://www.youtube.com/playlist?list=PLoTScYm9O0GGsV1ZAyP4m_iyAbflQrKrX
playlist สอนภาษา Python ► https://www.youtube.com/playlist?list=PLoTScYm9O0GH4YQs9t4tf2RIYolHt_YwW
playlist สอนภาษาไพธอน Python OOP ► https://www.youtube.com/playlist?list=PLoTScYm9O0GEIZzlTKPUiOqkewkWmwadW
playlist สอน Python 3 GUI ► https://www.youtube.com/playlist?list=PLoTScYm9O0GFB1Y3cCmb9aPD5xRB1T11y
playlist สอนภาษา C เบื้องต้น ► https://www.youtube.com/playlist?list=PLoTScYm9O0GHHgz0S1tSyIl7vkG0y105z
playlist สอนภาษา C++ ► https://www.youtube.com/playlist?list=PLoTScYm9O0GEfZwqM2KyCBcPTVsc6cU_i
playlist สอนภาษา C# ► https://www.youtube.com/playlist?list=PLoTScYm9O0GE4trr-XPozJRwaY7V9hx8K
playlist สอนภาษา Java ► https://www.youtube.com/playlist?list=PLoTScYm9O0GF26yW0zVc2rzjkygafsILN
playlist สอนภาษา PHP เบื้องต้น ► https://www.youtube.com/playlist?list=PLoTScYm9O0GH_6LARFxozL_viEsXV2wgO
playlist สอนภาษา R เบื้องต้น ► https://www.youtube.com/playlist?list=PLoTScYm9O0GF6qjrRuZFSHdnBXD2KVICp
#prasertcbs #prasertcbs_git #prasertcbs_github
「git username」的推薦目錄:
- 關於git username 在 prasertcbs Youtube 的精選貼文
- 關於git username 在 Setting your username in Git - GitHub Docs 的評價
- 關於git username 在 步驟:建立一個GitHub 帳號 - Git-it Guide 的評價
- 關於git username 在 Git: Set local user.name and user.email different for each repo 的評價
- 關於git username 在 GitHub keep asking for username password when git push 的評價
- 關於git username 在 How do I ensure Git doesn't ask me for my GitHub username ... 的評價
- 關於git username 在 [Github] Visual Studio Code 遇见“Make sure you configure ... 的評價
- 關於git username 在 How to set GitHub user.name and user.email per Repository 的評價
- 關於git username 在 how to set up username and passwords for different git repos? 的評價
- 關於git username 在 Chapter 4 Register a GitHub account 的評價
- 關於git username 在 git pull或push不用再打密碼 的評價
- 關於git username 在 Setup Username and Email with Git and GitHub in Visual ... 的評價
- 關於git username 在 Setup Username and Email with Git and GitHub in Visual ... 的評價
- 關於git username 在 Git Bash still pushes repo with old Username - GitHub ... 的評價
- 關於git username 在 Token authentication requirements for Git operations - The ... 的評價
- 關於git username 在 Version Controlling with Git in Visual Studio Code and GitHub 的評價
- 關於git username 在 Sourcetree推檔案失敗,無法Push到Github? - 品牌電商創業日記 的評價
- 關於git username 在 Start a new git repository - Karl Broman 的評價
- 關於git username 在 how to automate login to github? | DigitalOcean 的評價
- 關於git username 在 When someone asks for a GitHub handle, are they ... - Quora 的評價
git username 在 步驟:建立一個GitHub 帳號 - Git-it Guide 的推薦與評價
注意輸入時必須與你在GitHub 上建立的完全一致──大小寫必須一致。 告訴Git 你的GitHub 帳號:. $ git config --global user.username <USerNamE> ... ... <看更多>
git username 在 Setting your username in Git - GitHub Docs 的推薦與評價
Setting your Git username for every repository on your computer · Open TerminalTerminalGit Bash. · Set a Git username: $ git config --global user.name "Mona Lisa". ... <看更多>
相關內容